import { IFeidaoAiBrowserComponent } from '@feidao/web/interfaces';

export default async function a001(fd: IFeidaoAiBrowserComponent, ...args: any[]) {
	// 组件初始化
	// 回填参数
	const param = fd.data.params.param;
	if (param) {
		const value = param['exam_name'];
		const v = value['$regex'];
		fd.data.node.querySelector<HTMLInputElement>('[data-feidao-id="search_name"]').value = v.replace(/\.\*/g, '');
	}
}
